package demo2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 98152
 * Date: 2024-05-28
 * Time: 16:33
 */
public class Test {
    public Test() {
        System.out.println("Test中的构造方法");
    }
    {
        System.out.println("Test中的构造块");
    }
    static {
        System.out.println("Test中的静态块");
    }
    public static void main(String[] args) {
        Test test = new Test();
        A a = new A();
    }
}
